Soru & Cevap

Logcat Bluetooth Sorunu

11.12.2016 - 04:22

Selam arkadaşlar, geliştirdiğim uygulamam ne yaparsam yapayim bazı telefonlarda kendini kapatıyor, düzenlemeler yapmama rağmen bu işin önüne geçemedim.Logcat'ta ise 4 tane warning bulunuyor, uygulamamın Bluetooth kullanımıyla yakından uzaktan alakası yok ve bu tarz bir problem var ortada.Yardımlarınızı bekliyorum

 

12-11 13:01:46.899 624-624/com.android.settings E/BluetoothInputDevice: Could not bind to Bluetooth HID Service with Intent { act=android.bluetooth.IBluetoothInputDevice }
12-11 13:01:46.899 624-624/com.android.settings E/BluetoothPan: Could not bind to Bluetooth Pan Service with Intent { act=android.bluetooth.IBluetoothPan }
12-11 13:01:46.919 624-624/com.android.settings E/BluetoothMap: Could not bind to Bluetooth MAP Service with Intent { act=android.bluetooth.IBluetoothMap }
12-11 13:01:46.919 624-624/com.android.settings E/BluetoothPbap: Could not bind to Bluetooth Pbap Service with Intent { act=android.bluetooth.IBluetoothPbap }

5 Görüntülenme

3 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-15873-1477252697.png
muhammetcagatay
15.12.2016 - 09:11

Sorunun kaynaği tasarım dosyaların, örneğin 4.1 4.4 gibi  bazı sürümlerde radiusa sahip layout dosyaları yada birbirine oranlı xml dosyaları desteklenmeyebilir. tasarım dosyanda kritik nesneler varsa uyarlaman gerekir.

Profile picture for user egeakyurek
egeakyurek
14.12.2016 - 09:32

Hata aldığım cihazı bağladım ve LogCat çıktısını paylaşıyorum, ilginiz için teşekkür ederim.

12-14 21:22:40.481 32754-32754/? E/Zygote: v2
12-14 21:22:40.481 32754-32754/? W/SELinux: Function: selinux_compare_spd_ram, index[1], priority [2], priority version is VE=SEPF_SECMOBILE_6.0.1_0029
12-14 21:22:40.481 32754-32754/? E/Zygote: accessInfo : 0
12-14 21:22:40.481 32754-32754/? W/SELinux: SELinux: seapp_context_lookup: seinfo=default, level=s0:c512,c768, pkgname=com.egeakyurek.egeakyurek
12-14 21:22:40.521 32754-32754/? W/ResourcesManager: getTopLevelResources: /data/app/com.egeakyurek.egeakyurek-1/base.apk / 1.0 running in com.egeakyurek.egeakyurek rsrc of package com.egeakyurek.egeakyurek
12-14 21:22:40.531 32754-32754/? W/System: ClassLoader referenced unknown path: /data/app/com.egeakyurek.egeakyurek-1/lib/arm64
12-14 21:22:44.401 32754-32754/com.egeakyurek.egeakyurek W/System: ClassLoader referenced unknown path: /data/app/com.egeakyurek.egeakyurek-1/lib/arm64
12-14 21:22:44.451 32754-32754/com.egeakyurek.egeakyurek W/ResourcesManager: getTopLevelResources: /data/app/com.egeakyurek.egeakyurek-1/base.apk / 1.0 running in com.egeakyurek.egeakyurek rsrc of package com.egeakyurek.egeakyurek
12-14 21:22:44.461 32754-32754/com.egeakyurek.egeakyurek W/ResourcesManager: getTopLevelResources: /data/app/com.egeakyurek.egeakyurek-1/base.apk / 1.0 running in com.egeakyurek.egeakyurek rsrc of package com.egeakyurek.egeakyurek
12-14 21:22:44.501 32754-32754/com.egeakyurek.egeakyurek W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
12-14 21:22:52.321 32754-32754/com.egeakyurek.egeakyurek W/ResourcesManager: getTopLevelResources: /data/app/com.egeakyurek.egeakyurek-1/base.apk / 1.0 running in com.egeakyurek.egeakyurek rsrc of package com.egeakyurek.egeakyurek
12-14 21:22:52.471 32754-32754/com.egeakyurek.egeakyurek W/art: Throwing OutOfMemoryError “Failed to allocate a 165888012 byte allocation with 16765520 free bytes and 75MB until OOM”
12-14 21:22:52.501 32754-32754/com.egeakyurek.egeakyurek W/art: Throwing OutOfMemoryError “Failed to allocate a 165888012 byte allocation with 16765520 free bytes and 75MB until OOM”
12-14 21:22:52.521 32754-32754/com.egeakyurek.egeakyurek E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.egeakyurek.egeakyurek, PID: 32754
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.egeakyurek.egeakyurek/com.egeakyurek.egeakyurek.KopekCesitleri}: android.view.InflateException: Binary XML file line #52: Binary XML file line #52: Error inflating class android.widget.ImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
at android.app.ActivityThread.access$1100(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: android.view.InflateException: Binary XML file line #52: Binary XML file line #52: Error inflating class android.widget.ImageView
at android.view.LayoutInflater.inflate(LayoutInflater.java:551)
at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:474)
at android.app.Activity.setContentView(Activity.java:2387)
at com.egeakyurek.egeakyurek.KopekCesitleri.onCreate(KopekCesitleri.java:13)
at android.app.Activity.performCreate(Activity.java:6876)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) 
at android.app.ActivityThread.access$1100(ActivityThread.java:222) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:158) 
at android.app.ActivityThread.main(ActivityThread.java:7229) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
Caused by: android.view.InflateException: Binary XML file line #52: Error inflating class android.widget.ImageView
at android.view.LayoutInflater.createView(LayoutInflater.java:657)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:706)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:774)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:855)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:855)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
at android.view.LayoutInflater.inflate(LayoutInflater.java:527)
at android.view.LayoutInflater.inflate(LayoutInflater.java:429) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:474) 
at android.app.Activity.setContentView(Activity.java:2387) 
at com.egeakyurek.egeakyurek.KopekCesitleri.onCreate(KopekCesitleri.java:13) 
at android.app.Activity.performCreate(Activity.java:6876) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) 
at android.app.ActivityThread.access$1100(ActivityThread.java:222) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:158) 
at android.app.ActivityThread.main(ActivityThread.java:7229) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:631)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) 
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:706) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:774) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:847) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:855) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:855) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:527) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:429) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:474) 
at android.app.Activity.setContentView(Activity.java:2387) 
at com.egeakyurek.egeakyurek.KopekCesitleri.onCreate(KopekCesitleri.java:13) 
at android.app.Activity.performCreate(Activity.java:6876) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) 
at android.app.ActivityThread.access$1100(ActivityThread.java:222) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:158) 
at android.app.ActivityThread.main(ActivityThread.java:7229) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 
Caused by: java.lang.OutOfMemoryError: Failed to allocate a 165888012 byte allocation with 16765520 free bytes and 75MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2228)
at android.content.res.Resources.loadDrawableForCookie(Resources.java:4215)
at android.content.res.Resources.loadDrawable(Resources.java:4089)
at android.content.res.Resources.loadDrawable(Resources.java:3939)
at android.content.res.TypedArray.getDrawable(TypedArray.java:886)
at android.view.View.(View.java:4230)
at android.widget.ImageView.(ImageView.java:150)
at android.widget.ImageView.(ImageView.java:145)
at android.widget.ImageView.(ImageView.java:141)
at java.lang.reflect.Constructor.newInstance(Native Method) 
at android.view.LayoutInflater.createView(LayoutInflater.java:631) 
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) 
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:706) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:774) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:847) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:855) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:855) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:527) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:429) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:380) 
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:474) 
at android.app.Activity.setContentView(Activity.java:2387) 
at com.egeakyurek.egeakyurek.KopekCesitleri.onCreate(KopekCesitleri.java:13) 
at android.app.Activity.performCreate(Activity.java:6876) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) 
at android.app.ActivityThread.access$1100(ActivityThread.java:222) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:158) 
at android.app.ActivityThread.main(ActivityThread.java:7229) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 

picture-15873-1477252697.png
muhammetcagatay
12.12.2016 - 09:40

6.0 üzeri sürümlerde izin istemen gerekiyor.

Ege Barış Akyürek
12.12.2016 - 04:59
Sanırım uygulamanın farklı telefonlarda kendini kapatması ve hiç açmaması bununla alaklı ?
MUHAMMET ÇAĞATAY
12.12.2016 - 05:25
O telefonların android versionunu saptayabilirsen daha sağlıklı olur.